﻿using System;
using System.Collections.Generic;
using MyFramework.Common.Interfaces;
using MyFramework.Shell;
using MyFramework.Test.Shell;

namespace MyFramework.Test
{
    /// <summary>
    /// Bootstrapper my application test
    /// </summary>
    public class Bootstrapper : MyBootstrapper
    {
        /// <summary>
        /// Gets the shell.
        /// </summary>
        /// <returns></returns>
        /// <exception cref="System.NotImplementedException"></exception>
        protected override IView GetShell()
        {
            //IController shellController = null;
            //var name = typeof(UnityControllerFactory).Name;
            //var factory = ServiceLocator.Current.GetInstance<IControllerFactory>("UnityController");
            //factory.CreateController(typeof(ShellController), null, shellController, null, null, (e) => { });
            //return shellController.ViewModel.Views.MainView;
            return null;
        }

        /// <summary>
        /// Gets the main module.
        /// </summary>
        /// <returns></returns>
        protected override List<Type> GetMainModule()
        {
            return new List<Type>() { typeof(ShellModule) };
        }
    }
}